﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC11Controller
    /// </summary>
    public class VYC11Controller
    {
        private static VYC11BO _vyc11Bo;
        public VYC11Controller()
        {
            //
            _vyc11Bo = new VYC11BO();
        }
        public List<ModelVYC11> GetAllList()
        {
            return _vyc11Bo.GetAllList();
        }
        public int AddData(ModelVYC11 model)
        {
            return _vyc11Bo.AddData(model);
        }
        public int EditData(ModelVYC11 model)
        {
            return _vyc11Bo.EditData(model);
        }
        public int DeleteData(ModelVYC10 model)
        {
            return _vyc11Bo.DeleteData(model);
        }

        public List<ModelVYC11> GetById(string id)
        {
            return _vyc11Bo.GetById(id);
        }
    }
}